from math import floor

line = input().split()
sum = 0
for i in range(int(line[0]),int(line[1])+1):
    sum += i*i+1/i
print(f"sum ≈ {floor(sum)}")

